package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.util.Date;

public class AuUser implements Serializable {
    /**
    * 主键id
    */
    private Long id;

    /**
    * 登录账号
    */
    private String loginCode;

    /**
    * 登录密码（初始密码为证件号码后六位）
    */
    private String password;

    /**
    * 二级密码（初始密码为证件号码后六位）
    */
    private String password2;

    /**
    * 用户真实姓名
    */
    private String userName;

    /**
    * 性别
    */
    private String sex;

    /**
    * 生日
    */
    private Date birthday;

    /**
    * 证件类型id
    */
    private String cardType;

    /**
    * 证件类型名称
    */
    private String cardTypeName;

    /**
    * 证件号码
    */
    private String idCard;

    /**
    * 收货国家
    */
    private String country;

    /**
    * 手机
    */
    private String mobile;

    /**
    * email
    */
    private String email;

    /**
    * 收获地址
    */
    private String userAddress;

    /**
    * 邮编
    */
    private String postCode;

    /**
    * 注册时间
    */
    private Date createTime;

    /**
    * 推荐人id（默认为当前登录用户id）
    */
    private Long referId;

    /**
    * 推荐人编码（默认为当前登录用户logincode）
    */
    private String referCode;

    /**
    * 所属角色id
    */
    private Long roleId;

    /**
    * 所属角色名称
    */
    private String roleName;

    /**
    * 用户类型id
    */
    private String userType;

    /**
    * 用户类型名称
    */
    private String userTypeName;

    /**
    * 是否启用（1、启用2、未启用）
    */
    private Integer isStart;

    /**
    * 最新更新时间
    */
    private Date lastUpdateTime;

    /**
    * 最后登录时间
    */
    private Date lastLoginTime;

    /**
    * 开户卡号
    */
    private String bankAccount;

    /**
    * 开户行
    */
    private String bankName;

    /**
    * 开户人
    */
    private String accountHolder;

    /**
    * 身份证照片存放路径
    */
    private String idCardPicPath;

    /**
    * 银行卡照片存放路径
    */
    private String bankPicPath;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(String loginCode) {
        this.loginCode = loginCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardTypeName() {
        return cardTypeName;
    }

    public void setCardTypeName(String cardTypeName) {
        this.cardTypeName = cardTypeName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getReferId() {
        return referId;
    }

    public void setReferId(Long referId) {
        this.referId = referId;
    }

    public String getReferCode() {
        return referCode;
    }

    public void setReferCode(String referCode) {
        this.referCode = referCode;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getUserTypeName() {
        return userTypeName;
    }

    public void setUserTypeName(String userTypeName) {
        this.userTypeName = userTypeName;
    }

    public Integer getIsStart() {
        return isStart;
    }

    public void setIsStart(Integer isStart) {
        this.isStart = isStart;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getAccountHolder() {
        return accountHolder;
    }

    public void setAccountHolder(String accountHolder) {
        this.accountHolder = accountHolder;
    }

    public String getIdCardPicPath() {
        return idCardPicPath;
    }

    public void setIdCardPicPath(String idCardPicPath) {
        this.idCardPicPath = idCardPicPath;
    }

    public String getBankPicPath() {
        return bankPicPath;
    }

    public void setBankPicPath(String bankPicPath) {
        this.bankPicPath = bankPicPath;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", loginCode=").append(loginCode);
        sb.append(", password=").append(password);
        sb.append(", password2=").append(password2);
        sb.append(", userName=").append(userName);
        sb.append(", sex=").append(sex);
        sb.append(", birthday=").append(birthday);
        sb.append(", cardType=").append(cardType);
        sb.append(", cardTypeName=").append(cardTypeName);
        sb.append(", idCard=").append(idCard);
        sb.append(", country=").append(country);
        sb.append(", mobile=").append(mobile);
        sb.append(", email=").append(email);
        sb.append(", userAddress=").append(userAddress);
        sb.append(", postCode=").append(postCode);
        sb.append(", createTime=").append(createTime);
        sb.append(", referId=").append(referId);
        sb.append(", referCode=").append(referCode);
        sb.append(", roleId=").append(roleId);
        sb.append(", roleName=").append(roleName);
        sb.append(", userType=").append(userType);
        sb.append(", userTypeName=").append(userTypeName);
        sb.append(", isStart=").append(isStart);
        sb.append(", lastUpdateTime=").append(lastUpdateTime);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", bankAccount=").append(bankAccount);
        sb.append(", bankName=").append(bankName);
        sb.append(", accountHolder=").append(accountHolder);
        sb.append(", idCardPicPath=").append(idCardPicPath);
        sb.append(", bankPicPath=").append(bankPicPath);
        sb.append("]");
        return sb.toString();
    }
}